package com.cherry.sdk.http

import com.cherry.sdk.http.token.TokenConfig
import okhttp3.Interceptor

/**
 * @author 董棉生(dongmiansheng@parkingwang.com)
 * @since 18-11-16
 */
data class NetworkConfig(val baseUrl: String,
                         val connectTimeoutSeconds: Long = 30L,
                         val readTimeoutSeconds: Long = 30L,
                         val writeTimeoutSeconds: Long = 30L,
                         val requestHeaderMap: Map<String, String> = emptyMap(),
                         val interceptors: List<Interceptor> = emptyList(),
                         val tokenConfig: TokenConfig)